package com.ttw;

import android.app.Service;
import android.content.Intent;
import android.os.IBinder;



public class AuthenticatorService extends Service {

    private Authenticator mAuthenticator;

    public Authenticator getAuthenticator() {
        if (mAuthenticator == null) {
            mAuthenticator = new Authenticator(this);
        }
        return mAuthenticator;
    }

    @Override
    public IBinder onBind(Intent intent) {
        return getAuthenticator().getIBinder();
    }
}
